Part Number Hot Search : 
01500 IM1007 FB1502L KK74A 1N5345B 123REF 20P06 1N5221B
Product Description
Full Text Search
 

To Download SAA2500H Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  d a t a sh eet preliminary speci?cation file under integrated circuits, ic01 september 1994 integrated circuits philips semiconductors saa2500 mpeg audio source decoder
september 1994 2 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 features advanced error protection integrated audio post processing for control of signal level and inter-channel crosstalk demultiplexing of ancillary data in the input bitstream automatic digital de-emphasis of the decoded audio signal separate master and slave inputs automatic sample frequency and bit-rate switching in master input mode automatic synchronization of input and output interface clocks in master input mode selectable audio output precision; 16, 18, 20 or 22 bit low power consumption. applications cable and satellite digital radio decoders video cd compact disc interactive (cd-i) sold-state audio multimedia personal computer (pc). general description the saa2500 supports all audio modes (joint stereo, stereo, single channel and dual channel) bit rates and sample frequencies of iso/mpeg-1 layers i and ii, as standardized in iso/iec 11172-3 . ordering information note 1. when using ir reflow soldering it is recommended that the drypack instructions in the quality reference pocketbook (order number 9398 510 34011) are followed. supply of this iso/iec 11172-3 audio standard layer i or layer ii compatible ic does not convey a licence nor imply a right under any patent, or any industrial or intellectual property right, to use this ic in any ready-to-use electronic product. type number package name description version SAA2500H qfp44 (1) plastic quad flat package; 44 leads (lead length 1.3 mm); body 10 10 1.75 mm sot307-2
september 1994 3 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 block diagram fig.1 functional block diagram. handbook, full pagewidth mgb489 saa2500 clock generator trst tms tck tdo tdi reset sd 41 37 39 40 38 8 74 44 10 9 32 42 43 24 25 23 11 12 decoding control 1 26 synthesys subband filter bank and output processing input processor dequanti- zation and scaling processor cds 19 cdsef 20 cdscl 18 cdswa 21 cdssy 22 cdm 15 cdmef 14 cdmcl 16 cdmws 13 29 30 32 31 33 27 28 gnd ta tb to ti sck ws 17 gnd 6 gnd tc0 tc1 36 35 urda stop l3clk l3mode l3data fsclkm fsclk384 fsclk fsclkin x22out x22in mclk24 mclk mclkout mclkin v dd1 534 v dd2
september 1994 4 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 pinning symbol pin description type reset 1 master reset i fsclk 2 sample rate clock; buffered signal o fsclkin 3 sample rate clock input i mclk 4 master clock; buffered signal o v dd1 5 supply voltage - gnd 6 supply ground - mclkout 7 master clock oscillator output o mclkin 8 master clock oscillator input or signal input i x22out 9 22.579 mhz clock oscillator output o x22in 10 22.579 mhz clock oscillator input or signal input i stop 11 stop decoding i urda 12 unreliable data input; interrupt decoding i cdmws 13 coded data (master input) word select output o cdmef 14 coded data (master input) error ?ag input i cdm 15 iso/mpeg coded data (master input) i cdmcl 16 coded data (master input) bit clock output o gnd 17 supply ground - cdscl 18 coded data (slave input) bit clock i cds 19 iso/mpeg coded data (slave input) i cdsef 20 coded data (slave input) error ?ag i cdswa 21 coded data (slave input) window signal i cdssy 22 coded data (slave input) frame sync i l3clk 23 l3 interface bit clock i l3data 24 l3 interface serial data i/o l3mode 25 l3 interface address/data select input i sd 26 baseband audio i 2 s data output o ta 27 do not connect; reserved o gnd 28 supply ground - sck 29 baseband audio data i 2 s clock output o ws 30 baseband audio data i 2 s word select output o to 31 connect to ti (pin 32) o ti 32 connect to to (pin 31) i tb 33 do not connect; reserved o v dd2 34 supply voltage - tc1 35 do not connect; factory test control 1 input, with integrated pull-down resistor i tc0 36 do not connect; factory test control 0 input, with integrated pull-down resistor i tdo 37 boundary scan test data output o trst 38 boundary scan test reset input; this pin should be connected to ground for normal operation i tck 39 boundary scan test clock input i
september 1994 5 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 tms 40 boundary scan test mode select input i tdi 41 boundary scan test data input i fsclk384 42 sample rate clock frequency indication input i fsclkm 43 sample rate clock source selection for the master input i mclk24 44 master clock frequency indication i symbol pin description type fig.2 pin configuration. handbook, full pagewidth handbook, full pagewidth 1 2 3 4 5 6 7 8 9 10 11 33 32 31 30 29 28 27 26 25 24 23 12 13 14 15 16 17 18 19 20 21 22 44 43 42 41 40 39 38 37 36 35 34 tb ti to ws sck gnd ta sd l3mode l3data l3clk mclk24 fsclkm fsclk384 tdi tms tck trst tdo tc0 tc1 v reset fsclk fsclkin mclk v gnd mclkout mclkin x22out x22in stop dd urda cdmws cdmef cdm gnd cdscl cds cdsef cdswa cdssy cdmcl saa2500 (qfp44) dd mgb490 functional description coding system the perceptual audio encoding/decoding scheme defined within the iso/iec 11172-3 mpeg standard allows for a high reduction in the amount of data needed for digital audio whilst maintaining a high perceived sound quality. the coding is based upon a psycho-acoustic model of the human auditory system. the coding scheme exploits the fact that the human ear does not perceive weak spectral components that are in the proximity (both in time and frequency) of loud components. this phenomenon is called masking. for layers i and ii of iso/mpeg the broadband audio signal spectrum is split into 32 sub-bands of equal bandwidth. for each sub-band signal a masking threshold is calculated. the sub-band samples are then re-quantized to such an accuracy that the spectral distribution of the re-quantization noise does not exceed the masking threshold. it is this reduction of representation accuracy which yields the data reduction. the re-quantized sub-band signals are multiplexed, together with ancillary information regarding the actual re-quantization, into a mpeg audio bitstream.
september 1994 6 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 during decoding, the saa2500 de-multiplexes the mpeg audio bitstream, and with knowledge of the ancillary information, reconstructs and combines the sub-band signals into a broadband audio output signal. basic functionality from a functional point of view, several blocks can be distinguished in the saa2500. a clock generator section derives the internally and externally required clock signals from its clock inputs. the saa2500 can switch between a master and a slave input interface to receive the coded input data. the input processor parses and de-multiplexes the input data stream. the de-quantization and scaling processor performs the transformation and scaling operations on the sample representations in the input bitstream to yield sub band domain samples. the sub band samples are transferred via an external detour to the synthesis sub band filter bank processor. the detour can be used to process the decoded audio in the sub band domain. the baseband audio samples, reconstructed by the sub band filter bank, can be processed before being output. the decoding control block houses the l3 control interface, and handles the response to external control signals. the l3 control interface enables the application to configure the saa2500, to read its decoding status, to read ancillary data, and so on. several pins are reserved for boundary scan test and scan test purposes. saa2500 clocks the saa2500 clock interfacing is designed for application versatility. it consists of 10 signals (see table 1). from a functional point of view, the clock generator inside the device can be represented as shown in fig.3. as described above, the saa2500 incorporates a master input interface on which it requests for coded input data itself, as well as a slave input interface for an imposed coded data input bitstream. the input interface is selected with flags msel0 and msel1, controlled via the l3 microcontroller interface. depending on the selected input interface, only a limited number of the three possible input clocks (mclkin, x22in and fsclkin) is actually required. the various clock options are selected with the 3 external control signals mclk24, fsclkm and fsclk384. these control signals must be stationary while the device reset signal reset is de-activated; changing any of these 3 signals without simultaneously resetting the saa2500 can result in malfunctioning. table 1 clock interfacing signals. signal direction function mclkin input master clock oscillator input or signal input mclkout output master clock oscillator output mclk output master clock; buffered signal mclk24 input master clock frequency indication: mclk24 = 0; mclkin frequency is 12.288 mhz (256 48 khz) mclk24 = 1; mclkin frequency is 24.576 mhz (512 48 khz) x22in input 22.5792 mhz (512 44.1 khz) clock oscillator input or signal input x22out output 22.5792 mhz (512 44.1 khz) clock oscillator output fsclkin input sample rate clock signal input fsclk output sample rate clock signal; buffered signal fsclk384 input sample rate clock signal frequency indication: fsclk384 = 0; fsclkin frequency is 256 times the sample rate fsclk384 = 1; fsclkin frequency is 384 times the sample rate fsclkm input sample rate clock source selection when using the master input: fsclkm = 0; use mclkin or x22in as source fsclkm = 1; use fsclkin as source
september 1994 7 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 crystal oscillator the recommended crystal oscillator configuration is shown in fig.4. the specified component values only apply to crystals with a low equivalent series resistance of <40 w . fig.3 saa2500 clock generator. italics: internal signal designation. handbook, full pagewidth fsclkm fsclk384 mclk24 fsclk fsclkin x22out x22in mclk mclkout mclkin sck ws 2 3 2 c = 48 khz c = 32 khz c = 44.1 khz c c = 0 c = 1 c 1 osc osc control divider in out 12.288 or 24.576 mhz 22.5792 mhz s 256f or 384f s control control s 256f or 384f s c = 0 c = 1 c control 4 6 64 64f s f s 00 msel1 msel0 (l3) a=b a b 0: use master input 1: use slave input to input interfaces fckena (l3) mckdis (l3) internal master clocks decoded sample rate index mgb491 256f s
september 1994 8 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 handbook, full pagewidth handbook, full pagewidth saa2500 10 9 8 7 r1 x1 c2 c1 r4 x2 r3 c3 c4 mgb492 r2 fig.4 crystal oscillator components. c1 =c2 = 33 pf; r1=r4=1m w ; r2=r3=1k w ; x1 = 22.5792 mhz; x2 = 24.5760 mhz or 12.2880 mhz the specified component values only apply to crystals with a low equivalent series resistance of <40 w . clock frequencies when using the slave input if the slave input is used (msel1 and msel0 = 10 or 11), the saa2500 clock sources are mclkin and fsclkin and x22in is not used. the i 2 s clocks sck and ws are generated by the saa2500 from fsclkin. fsclkin may be designated to have a frequency of 256 times (indicated by fsclk384 = 0) or 384 times (indicated by fsclk384 = 1) the sample frequency of the coded input data. master clock signal mclkin may be chosen to have a frequency of 12.288 mhz (indicated by mclk24 = 0) or 24.576 mhz (indicated by mclk24 = 1). mclkin and fsclkin do not have to be phase or frequency locked. if the application is based on a sample frequency of 48 khz or 32 khz, and a sample rate related clock of 12.288 mhz (256 48 khz; 384 32 khz) is available, this can be taken advantage of by using this signal for both mclkin and fsclkin. clock frequencies when using the master input if the master input is used (msel1 and msel0 = 00), one out of two configurations is selected with signal fsclkm with respect to the clock sources: 1. if fsclkm = 0, mclkin and x22in are the clock sources. fsclkin is not used in this configuration. fsclk384 must be set to 0 for reasons of internal connections in the clock generator circuitry. mclkin may have only frequency 24.576 mhz (so mandatory accompanied by mclk24 = 1), and x22in must have a frequency of 22.5792 mhz. mclkin and x22in do not have to be phase or frequency locked. the main advantage of this configuration is that the saa2500 determines automatically which sample rate is active from the sampling rate setting of the input data bitstream, and then selects either mclkin or x22in as the clock source for the i 2 s clocks sck and ws. this configuration is therefore particularly suited in applications with more than one possible sample rate setting. 2. if fsclkm = 1, the configuration is comparable to the configuration when using the slave input (see section clock frequencies when using the slave input). mclkin and fsclkin are used as the clock sources, and x22in is not required. mclkin may again have a frequency of 12.288 mhz (indicated by mclk24 = 0) or 24.576 mhz (indicated by mclk24 = 1), and fsclkin may have a frequency of 256 times (indicated by fsclk384 = 0) or 384 times (indicated by fsclk384 = 1) the sample frequency of the input data. mclkin and fsclkin do not have to be phase or frequency locked. target applications; applying the saa2500 with 2 iso/mpeg sources in table 2 the three target applications of the saa2500 are summarised. the slave input application is labelled s, and the master input applications are labelled m0 and m1.
september 1994 9 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 2 target applications. notes 1. must be electrically defined; e.g.: low. 2. fsclkin must be locked to input data clock cdscl; see section the coded data slave input interface. 3. fsclkin is not used, but fsclk384 must be low. attribute conditions application sm0m1 input interface conditions slave input master input master input fsclkm x 0 1 mclkin mclk24 = 1 24.576 mhz 24.576 mhz 24.576 mhz mclk24 = 0 12.288 mhz illegal 12.288 mhz x22in note 1 22.579 mhz note 1 fsclkin fsclk384 = 1 384f s illegal 384f s fsclk384 = 0 256f s note 1 256f s fsclk fckena = 1 (l3) copy of fsclkin 256f s copy of fsclkin remarks note 2 note 3 - sections clock frequencies when using the slave input and clock frequencies when using the master input explain which clock sources are activated by the saa2500 depending on the selected input interface. this automatic clock source selection makes it easy to apply the saa2500 in systems with two iso/mpeg coded data sources (one connected to the master input, an one to the slave input), even if these data sources use different clocks. buffered clock outputs the saa2500 provides a signal mclk which is a buffered version of mclkin. mclk can be set to 3-state by setting the l3 control interface flag mckdis to 1 in applications where mclk is not needed. signal fsclk is copied from the fsclkin input for application types s and m1 or generated with a frequency of 256f s by the saa2500 for application type m0. after a device reset, fsclk must be enabled explicitly by setting l3 flag fckena, or can alternatively be left 3-stated in applications where it is not needed. after a device reset, mclk is enabled; fsclk is disabled (i.e. both mckdis and fckena are set to 0). functionality issues the saa2500 fully complies with iso/mpeg layer i and ii with the slave input. with the master input, the saa2500 complies with iso/mpeg layer i and ii, excluding the free format bit rate. several aspects of the decoding process, as well as the audio post-processing features, offered by the saa2500, are described in more detail below. synchronization to input data bitstreams after a reset, the saa2500 mutes both sub band and baseband audio data. after data inputting has started, the saa2500 searches either for a sync pattern or a sync pulse. the speed at which input data is read by the master input to search for synchronisation is described below. if the application is such that the saa2500 starts at a random moment in time compared to the bitstream, maximal one frame is skipped before a synchronisation pattern or pulse is encountered. when the saa2500 has detected the first synchronisation word or pulse, a number of frames are decoded in order to verify synchronisation; the input data for these frames is read and decoded, but meanwhile the audio output is muted. the number of muted frames depends on whether the iso/mpeg crc is active, and whether the bit rate is free format. if the synchronisation is found to be false, the saa2500 resumes the initial synchronisation as described above. if the detected pulse/pattern is concluded to be a real synchronisation pulse/pattern, table 3 indicates the number of muted frames.
september 1994 10 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 3 muted frames. crc minimum number of muted frames during synchronization free format bit rate non-free-format bit rate no crc 2 1 crc 1 0 master input bit rate selection as explained above, the saa2500 can be used to alternate between two applications: one with the slave input, and one with the master input. when using the master input, the saa2500 should fetch data with the effective bit rate, but cannot know what the bit rate of the input data is until it has established synchronisation. to overcome this paradox, the input requesting is done at the last selected bit rate. after a device reset, the master input bit rate selection defaults to the value indicated in table 4. table 4 defaults master input bit rate. note 1. x = dont care. fsclkm fsclk384 fsclkin default master input bit rate kbits/s 00 x (1) 384 1 0 256 32 khz 278.64 1 384 32 khz 0 256 44.1 khz 384 1 384 44.1 khz 0 256 48 khz 417.96 1 384 48 khz when fsclkm = 0, the default master input bit rate is 384 kbits/s. when fsclkm = 1, the saa2500 uses signal fsclkin to derive the selected bit rate, but it has no indication concerning the sample rate corresponding to fsclkin. therefore, a bit rate of 384 kbits/s is selected at an assumed sample rate of 44.1 khz; with other sample rates, the bit rate changes proportionally. the consequence is that while the saa2500 synchronises (e.g. after a device reset), the application must at least be able to supply at the given default bit rate the required number of frames plus one additional frame (because of the random decoding start point in the input bitstream). buffers in the application must thus be chosen sufficiently large to prevent under or overflows. the speed with which input data is requested by the master input is changed by the saa2500 in each of the following cases: 1. when input synchronization is established after checking a number of frames and the bit rate index of the newly decoded bitstream indicates a different bit rate than that currently selected. in this case, the bit rate is adapted to the newly decoded index. 2. when the active input interface is changed from the master to the slave input, or the signal stop is activated; in these cases input requesting stops. 3. when the active input interface is changed from the slave to the master input, or the signal stop is deactivated; the bit rate is set to the last selected master input bit rate (the last selected master input bit rate is memorised while using the slave input). in all other cases (e.g. when the saa2500 goes and stays out of synchronisation), the data requesting speed of the master input is maintained. sample rate selection when using the slave input, or when using the master input with fsclkm = 1, the application must know the sample rate: fsclkin must be applied, which has a frequency which is a multiple of the sample rate; the (sample rate dependent) i 2 s timing signals sck and ws are generated from fsclkin. these configurations will normally be used in applications with a fixed sample rate. should the sample rate change, then the saa2500 must be reset.
september 1994 11 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 when using the master input with fsclkm = 0, the saa2500 selects the active sample rate autonomously, and generates the signals sck and ws from its crystal clocks. after a device reset, the saa2500 selects a sample rate of 44.1 khz by default. sck and ws may, and will only, show phase or frequency changes in any of the following 3 situations: 1. when the saa2500 establishes synchronization with the coded data input bitstream. 2. when the active input interface is changed from the master input with fsclkm = 0 to the slave input (i.e. the timing source for the generation of sck and ws is switched from the crystal clocks to fsclkin). 3. when the active input interface is changed from the slave input to the master input with fsclkm = 0 (i.e. the timing source for the generation of sck and ws is switched from fsclkin to the crystal clocks); the sample rate is set to the last selected sample rate that was used with the master input (the last selected sample rate is memorised while using the slave input). in all other cases, sck and ws keep on running without phase or frequency changes, and the sample rate selection remains unchanged. handling of errors in the coded input data the saa2500 can handle errors in the input data. errors are assumed to be present in 3 cases: 1. if errors are indicated with the coded input data error flag cdsef and/or cdmef. 2. on crc failure if iso/mpeg error protection is active. 3. if input bitstream syntax errors are detected. errors in the input data have an effect on the decoding process if the corrupted data is inside the header, bit allocation or scale factor select information field in a frame (then the saa2500 will mute) or inside the scale factor field (then the previous scale factor will be copied). errors in other data fields are not handled explicitly. if the iso/mpeg crc is active, only the crc result is interpreted: cdsef/cdmef un-reliability indications for bit allocation and scale factor select information are neglected. in applications where the iso/mpeg crc is always present, the protection bit (which itself is not protected) in the iso/mpeg header may be overruled by making l3 settings flag crcact high. in this manner, the saa2500 is made robust for data errors on the protection bit. subband ?lter signals the decoded subband signals are output, so that they can be processed. the optionally processed subband signals are put back into the saa2500 for synthesis filtering. baseband audio processing the baseband audio de-emphasis as indicated in the iso/mpeg input data is performed digitally inside the saa2500. the incorporated 'audio processing unit' (see fig.5) can be used to apply inter-channel crosstalk or independent volume control per channel. the apu attenuation coefficients ll, lr, rl and rr may be changed dynamically by the host microcontroller, writing their 8 bit indices to the saa2500 over the l3 control bus. the coefficient changes become effective within one sample period after the coefficient index writing. to avoid clicks at coefficient changes, the transition from the current attenuation to the next is smoothed. the relation between the apu coefficient index and the actual coefficient (i.e. the gain) is given in table 5.
september 1994 12 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 5 apu coef?cient index and actual coef?cient. apu coefficient index c apu coefficient binary decimal 00000000 to 00111111 0 to 63 01000000 to 01111110 64 to 126 01111111 127 0 1xxxxxxx 128 to 255 reserved 2 c 12 ------ C 2 c32 C () 6 ----------------------- C fig.5 audio processing unit (apu). handbook, halfpage left decoded audio samples lr ll rl left output audio samples right decoded audio samples rr right output audio samples mgb493 from table 5 we learned that up to coefficient index 64 the step size is approximately - 0.5 db per coefficient increment, and from coefficient index 64 to index 126 the step size is approximately - 1 db per increment. note that the apu has no built-in overflow protection, so the application must take care that the output signals of the apu cannot exceed 0 db level. for an update of the apu coefficients, it may be required to increase some of the coefficients and decrease some others. the apu coefficients are always written sequentially in the fixed sequence ll, lr, rl and rr. therefore, to prevent internal apu data overflow due to non-simultaneous coefficient updating, the following steps can be followed: 1. write ll, lr, rl, rr once, but change only those coefficients that must decrease; overwrite the coefficients that must increase with their old value (so do not change these yet). 2. write ll, lr, rl, rr again, but now change those coefficients that must increase, keeping the other coefficients unchanged. the consequence of this two-pass coefficient updating is that the application must keep a shadow of the current apu coefficients (the l3 apu coefficients data item is write-only). fig.6 relation between apu coefficient index and gain. (1) step - 0.5 db per coefficient increment. (2) step - 1 db per coefficient increment. handbook, full pagewidth mgb494 94 64 126 127 32 0 0 gain (db) apu coefficient index (1) (2)
september 1994 13 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 decoding control signals the decoding is performed by 3 signals as shown in table 6. table 6 signals for decoding control. the master reset signal reset forces the saa2500 into its default state when high. reset must stay high during at least 24 mclkin periods if mclkin has frequency 24 mhz (i.e. mclk24 = 1) or 12 mclkin periods if mclkin has frequency 12 mhz (mclk24 = 0). at a reset, the saa2500 synchronization to the input bitstream is lost, the subband filter and baseband audio output signals are muted, and the saa2500 settings are initialised. the decoding can be stopped by making input signal stop high. stopping the decoding forces the saa2500 to end decoding of input data, yet feeding zeroed subband samples to the synthesis subband filter bank to create a soft muting. when using the master input, input requesting is also stopped. cdmws stays in its current state while stop is asserted. the saa2500 assumes the input synchronisation to be lost when the decoding is stopped, signal direction function reset input reset saa2500 to default state stop input stop decoding urda input unreliable input data; interrupt decoding thus causing re-synchronization when stop is de-activated again. then the saa2500 mutes, meanwhile searching for a frame sync pattern or frame sync pulse (the synchronisation mode is selected via the l3 control bus) at the input. if synchronisation is found, the saa2500 starts producing output data. the maximum response time to the activation of signal stop is half a sample period; the re-synchronisation time after stop going low again differs in various situations. an unreliable data indication can be given to the saa2500 by making signal urda high. urda, like stop, mutes the subband signals and forces the saa2500 out of synchronisation. however, in contrast to stop, master input data requesting continues at the bit rate that was decoded before urda became active. the maximum response time to urda is half a sample period. coded data interfaces the saa2500 contains: a coded data master input interface a coded data slave input interface. t he coded data master input interface when using the master input, the saa2500 requests for input data. with the master input, the coded input data may not use the iso/mpeg free format bit rate. the coded data master input interface consists of 4 signals (see fig.7).
september 1994 14 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 7 signals of coded data master input interface. signal direction function cdm input iso/mpeg coded input data (master input) cdmef input coded data (master input) error ?ag cdmcl output coded data (master input) clock cdmws output coded data (master input) word select fig.7 input data serial transfer format (master input). handbook, full pagewidth cdmws cdmcl cdmef cdm 1 2 16 17 n 1 2 1 unreliable data bit (example) valid data valid but unreliable data invalid data mgb495 data clock cdmcl is being output, having a fixed frequency of 768 khz. signal cdm carries the coded data in bursts of 16 valid bits. coded data input frames may only start either at the first or at the ninth bit of a 16 bit valid data burst (i.e. only at a byte boundary). the value of word select signal cdmws is changed every time new input data is needed: one cdmcl period after each transition in cdmws, 16 bits of valid data are read serially. assume n is the number of cdmcl periods between two transitions of cdmws, and r is the number of cdmcl periods to obtain the effective bit rate e (in kbits/s) at a transferring data rate of 768 kbits/s, i.e. r = 16*768/e. the saa2500 keeps n close to r, but n can vary plus or minus two: n ? {round(r)-2,...,round(r)+2}. error flag cdmef is used to indicate input data insecurities (e.g. due to erratic channel behaviour). in fig.7, an example with one unreliable bit is shown. the value of cdmef may vary for each valid data bit, but is combined by the saa2500 for every group of 8 input bits. t he coded data slave input interface the coded data slave input interface signals are shown in fig.8. the coded data master input interface consists of 5 signals (see table 8).
september 1994 15 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 8 signals of coded data slave input interface. signal direction function cds input iso/mpeg coded input data (slave input) cdsef input coded data (slave input) error ?ag cdscl input coded data (slave input) clock cdswa input coded data (slave input) burst windowing signal cdssy input coded data (slave input) frame sync fig.8 input data serial transfer format (slave input). cdssy indicates frame start during valid data. handbook, full pagewidth cdswa cdscl cdssy mgb496 cdsef cds valid data valid but unreliable data invalid data frame start 1 unreliable data bit (example) cds is the saa2500 input data bitstream. data clock cdscl must have a frequency equal to or higher than the bit rate. the maximum cdscl frequency is 768 khz. error flag cdsef is handled in the same way as cdmef is handled for the master input (in fig.8, one unreliable data bit is shown as an example). the value of cdsef is neglected for those bits where cdswa is low. window signal cdswa being high indicates valid data; in this way, burst input data is allowed. the constraints for the ability to use burst signals are explained below. frame sync signal cdssy indicates the start of each input data frame. cdssy is synchronous with cdscl. cdssy may be present or not: as described below. the first valid cds bit after a leading edge of cdssy is interpreted to be the first frame bit. the minimum time for cdssy to stay high is one cdscl period; the maximum high period is constrained by the requirement that cdssy must be low at least during one cdscl period per frame (a leading edge, i.e. a frame start indication, must be present every frame). leading edges of cdssy can occur while cdswa is high, as in fig.8. alternatively, a situation as shown in fig.9 is also allowed, where cdssy has a leading edge while cdswa is low, i.e. during invalid data. the first cds bit after cdswa going high is now interpreted to be the first frame bit.
september 1994 16 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 fig.9 input data serial transfer format (slave input). cdssy indicates frame start at next valid data. handbook, full pagewidth cdswa cdscl cdssy cds frame start mgb497 valid data invalid data whether frame sync signal cdssy is present or not must be selected with l3 settings flags msel1 and msel0 (see section saa2500 settings item). with respect to the presence of cdssy, two situations can be distinguished: 1. if cdssy is supplied, cdswa may change each cdscl period. 2. if cdssy is not supplied, cdscl must have a frequency higher than the bit rate (i.e. cdswa cannot be continuously high), and cdswa high periods may have only lengths of a multiple of 8 cdscl periods: data is input in byte bursts. furthermore, these bursts must be byte aligned with the frame bounds: frames are only allowed to start at the 1 st , 9 th , 17 th etc. bit in a valid data burst. for applications where data is input in bursts of exactly one frame, and where cdscl has a higher frequency than the bit rate, cdswa and cdssy may be interconnected. s lave input transfer speed of first frame both the average and the instantaneous speed at which data is transferred to the slave input interface are limited. the data transferring of the first iso/mpeg frame after starting to decode is shown in fig.10. it shows the transferring of nf bits in one frame between time 0 and t, where t corresponds to 384 sample periods (iso/mpeg layer i input data) or 1152 sample periods (iso/mpeg layer ii input data). buffer margin b equals 16 bytes (128 bits). in fig.10 an effective transferring characteristic is drawn, representing any of the possible iso/mpeg bit rates. however, input data may be transferred at a higher-than-effective speed (in other words: cdscl may have a higher frequency than the effective bit rate) in periods during which cdswa is high, interleaved with invalid data periods where cdswa is low. in the example of fig.9 this is used to transfer the data of the frame in two bursts, as shown by the actual transferring characteristic. the actual transferring characteristic has a slope equal to the cdscl frequency while cdswa is high, and is horizontal during the periods in which cdswa is low (no bits are being transferred).
september 1994 17 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 fig.10 slave input data transferring for the first frame. (1) the actual transferring characteristics of all frames are restricted to this area. (2) effective transferring characteristic (example). (3) actual transferring characteristic of the first frame (example). a ndbook, full pagewidth transferred input frame bits n t time (3) b b b b slope: cdscl frequency (1) 0 mgb498 slope: effective input bit rate (2) slope: maximum input bit rate the shaded area in fig.10 represents the restrictions to the actual transferring characteristic of all frames. the actual transferring characteristic may not undercut the effective transferring characteristic by more than b bits to avoid an input underflow. on the other hand, the actual transferring characteristic may not cross the shown upper limit of the shaded area to prevent an input buffer overflow. the slope of this upper limit is determined by the maximum effective input bit rate (depending on the input data format). table 9 summarizes the slopes as determined by the bit rates supported by iso/mpeg. table 9 slopes determined by bit rates supported by iso/mpeg. note 1. achieved using the free format option and the minimum amount of the side information that must be transmitted (this means using single channel mode, no crc and 32 khz sample rate). iso/mpeg layer effective input bit rate (kbits/s) transferring upper limit slope (kbits/s) iso/mpeg layer i 13.3 (1) to 448 448 iso/mpeg layer ii 3.5 (1) to 384 384 s lave input transfer speed of subsequent frames the saa2500 starts decoding as soon as enough data of the first iso/mpeg input data frame has been received. thus the start moment of decoding depends on the actual transferring characteristic of the first frame. decoding start times of subsequent input data frames are also governed by this initial start time. for this reason the transferring characteristic of all subsequent frames must approximate the characteristic of the first frame within the buffer margin b. for the example shown in fig.10, subsequent frames must be transferred within the shaded area shown in fig.11.
september 1994 18 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 fig.11 slave input data transferring for subsequent frames, referenced to the first frame. (1) the actual transferring characteristics of all subsequent frames are restricted to this area. (2) effective transferring characteristic (example). (3) actual transferring characteristic of the first frame (example). handbook, full pagewidth transferred input frame bits n t time (2) b b b b (3) (1) 0 mgb499 slope: effective input bit rate slope: cdscl frequency note that the actual transferring characteristics of all frames must also remain inside the shaded area of fig.11. the subband ?lter interface as mentioned earlier, decoded signals in the subband domain (before synthesis filtering) are available externally for processing. the associated interface has an i 2 s-like format (see fig.12).
september 1994 19 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 the filter data interface uses 6 signals as shown in table 10. table 10 signals of ?lter data interface. signal direction function to output ?lter data output ta output ?lter data error ?ag ti input ?lter data input (optionally processed) sck output ?lter data (output/input common) bit clock ws output ?lter data (output/input common) word select tb output ?lter data output frame synchronization fig.12 filter data serial transfer format. handbook, full pagewidth ws sck to 1 left sample 24 msb lsb 22526 32 ti 1 right sample msb 2 tb ws mgb500 012 30 31 0 1 subband lrlr valid data undefinied data two subband samples (one per channel) are transmitted per sample period with output to. the transmission pattern of the samples s [sb, ch] (sb: subband index; ch: channel) is: s [0, l], s [0, r], s [1, l], s [1, r],..., s [31, r], s [0, l], s [0, r], etc. word select signal ws indicates the channel of each sample. (ws is also used for the baseband audio output interfacing). the subband sample bit clock sck has a frequency of 64 times the sample frequency. the subband samples are transmitted in 24 bit two's complement pcm form, msb first. thus, of the available 32 to bits per sample per channel, only 24 are used. the msb of a sample follows one sck period after each transition in ws. the 8 unused bits between individual samples in to are zero. (sck is used for the baseband audio output interface as well.) the optionally processed subband data signal is fed back as input ti in a similar format as to, but now the 8 unused bits between individual samples are undefined; they are neglected by the saa2500.
september 1994 20 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 a leading edge in signal tb indicates the start of each to frame. the length of each tb pulse is one sample period; tb is high during a s[0,l] and s[0,r] pair. signal ta being high indicates muting of to due to input data errors (see fig.13). ta can only change value at each tb leading edge, i.e. after each 384 sample periods (iso/mpeg layer i input data) or 1152 sample periods (iso/mpeg layer ii input data): only whole frames are marked to be correct or muted. as shown in detail in fig.13, transitions of tb and ta take place one sck period before a trailing edge of ws. the optionally processed subband data ti must be synchronous to sck and ws. furthermore, the subband index of the ti samples must be synchronised to tb: a subband 0 sample pair must be input when tb is high (as shown in fig.12). this means that the delay of the external processing is allowed to be any integer multiple of 32 sample periods. if no external processing is to be applied, to must be input back directly to ti. the baseband output interface the decoded baseband audio data is output in an i 2 s-like format (see fig.14). the output interfacing consists of 3 signals (see table 11). fig.13 filter data error flag (ta) timing. handbook, full pagewidth ws tb ta sck ws tb ta sck ws tb ta 1234 mgb501 384 (layer i) 1152 (layer ii) 1 2
september 1994 21 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 fig.14 baseband output data serial transfer format. handbook, full pagewidth ws sck sd msb left sample lsb msb right sample lsb 1 16/18/20/22 32 1 16/18/20/22 32 valid data mgb502 table 11 signals of output interfacing. the frequency of clock sck is 64 times the sample frequency. (sck is also used for the subband filter interface). the signal sd is the serial baseband audio data, sample by sample (left/right interleaved. the left sample and the right immediately following it form one stereo pair). 32 bits are transferred per sample per channel. the samples are transmitted in two's complement, msb first. the output samples are rounded to either 16, 18, 20 or 22 bit precision, selectable by the host with l3 control interface flags rnd1 and rnd0. the remainder of the 32 transferred bits per sample per channel are zero. the word select signal ws indicates the channel of the output samples (low if left, high if right). (ws is used for the subband filter interface as well.) if indicated in the coded input data, de-emphasis filtering is performed digitally on the output data, thus avoiding the need of analog de-emphasis filter circuitry. the l3 control interface the saa2500 uses the l3 protocol with the associated bus as the control interface with an optional host microcontroller (see chapter appendix for more signal direction function sd output baseband audio data sck output data clock ws output word select information). in the programming sections a general transfer protocol outline is presented. in section saa2500 l3 protocol enhancement options several optional protocol enhancements are given, which on the one hand are less transparent from the applicant's point of view, but on the other hand increase the efficiency of the l3 interfacing. l3 signals the l3 protocol uses 3 signals (see table 12). table 12 signals of l3 protocol. the signals operate according to the l3 protocol description. after each device reset, the l3 interface of the saa2500 must be initialised and as a consequence, the l3 interface cannot be used while the device reset signal is activated. l3 transfer types the l3 protocol enables the reading and writing of control, status and data. in the l3 protocol, the host first issues an 8 bit wide operational address on l3data while keeping l3mode low. all devices connected to the l3 bus read the operational address. next, data transfers from or to the signal direction function l3data input/output l3 interface serial data l3clk input l3 interface bit clock l3mode input l3 interface address/data select
september 1994 22 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 host are done while keeping l3mode high. the devices with an l3 operational address differing from the issued one must ignore these data transfers until the next operational address is issued. only the device with an address equal to the issued operational address performs the transfer. the saa2500 has the l3 operational address as shown in table 13. table 13 l3 operational address. note 1. the data operation mode bits dom1 and dom0 determine the mode in which the saa2500 l3 interface will stay until the next time an l3 operational address is issued (see table 14). 76543210 0 1 1 0 0 0 dom1 (1) dom0 (1) table 14 dom1 and dom0 bits. control bytes can be written to the saa2500. data is transferred to or from the saa2500 in so-called data items. the items can be a readable or writeable type. a data item transfer is initiated by writing the corresponding control byte to the saa2500 first. next, the dom1 dom0 transfer type 0 0 write item data 0 1 read item data 1 0 write control to saa2500 1 1 read saa2500 status item data itself is transferred, always as an integer number of bytes. the status of the saa2500 can be read via l3. the saa2500 status flag l3rdy must be monitored before transferring data item bytes to avoid transferring bytes faster than the l3 interface of the saa2500 can handle. l3 interface initialisation at an saa2500 device reset figure 15 shows the mandatory actions that must be taken for correct l3 interface start-up at a device reset. fig.15 l3 interface initialisation procedure. handbook, full pagewidth reset l3mode l3clk 12 3 mgb503
september 1994 23 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 the actions shown in fig.15 are: 1. in order for the saa2500 to keep l3data in 3-state, l3mode must be kept low during the whole period that reset signal reset is asserted; meanwhile, no transfers can be performed (l3clk stays high). 2. for a proper initialisation of the l3 interface logic of the saa2500, it is mandatory to make l3mode high and low again after the device reset has been de-activated. this must be done before any l3 transfer, even to or from other devices than the saa2500, is performed. figure 14 shows that l3clk stays high during this step. 3. now the first transfer can be performed on the l3 bus. this transfer must be a operational address (indicated in fig.14 by l3mode = 0), addressing any of the devices connected to the l3 bus. the first transfer to the saa2500 itself must always be either the writing of a control word or the reading of the saa2500 status; the first transfer may never be a data item byte transfer. remark: any deviation from these steps may result in illegal l3 protocol behaviour of the saa2500, even with the possibility of disturbing transfers to other devices connected to the l3 bus. l3 interface control the control of the saa2500 l3 interface is performed with one-byte control words. status polling is not necessary before writing control bytes. after writing the saa2500 write control operational address, one or more control bytes may be written. each written control byte overrules the previously sent control byte. table 15 l3 control. the definitions of the control bytes (ctrl7 to ctrl0) are given in table 16. table 16 explanation of control bytes note 1. control bytes of type i initiate the transfer of a data item. the control byte of type c may be used after interrupting a transfer, in order to write apu coefficients, to return to the interrupted transfer. 76543210 ctrl7 ctrl6 ctrl5 ctrl4 ctrl3 ctrl2 ctrl1 ctrl0 ctrl7 to ctrl0 definition type (1) 00000000 read/write saa2500 settings item i 00000001 read decoded frame header item i 00000010 read used frame header item i 00000011 read error report item i 00000100 reserved i 00000101 read ancillary data item i 00000110 write apu coef?cients item i 00000111 continue previous transfer c 00001000 to 11111111 reserved - saa2500 status the host can check the status of the saa2500 by reading the one-byte status word. after writing the saa2500 read status operational address, the status byte may be read an arbitrary number of times. if status is read more than once, it is updated by the saa2500 between the individual readings. the status flags of the saa2500 have the definition as shown in table 17.
september 1994 24 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 17 status ?ag de?nitions. notes 1. by interpreting dst2 to dst0, the host can synchronize to the input frame frequency, and also determine at which moment which l3 data item is available to be read. the value of dst2 to dst0 is only valid if flag insync is set. a) dst2 is a modulo 2 frame counter, i.e. dst2 inverts at the moment the decoding of a new frame is started. dst2 enables to host to sample the decoding subprocess dst1 to dst0 less frequently, meanwhile enabling the host to see if it missed a state. b) dst1 and dst0 values are explained in table 18. 2. insync is synchronization indication: a) insync = 0; the saa2500 is not synchronized to the input data. b) insync = 1; the saa2500 is synchronized to the input data. 3. as indicated in section input data frame header items, some of the readable data item bits only have significance if insync = 1. 4. l3rdy is l3 interface ready indication: a) l3rdy = 0; the l3 interface cannot perform a new item data transfer yet. b) l3rdy = 1; the l3 interface is ready for the next item data transfer. after a device reset, l3rdy is cleared and will only become set after writing the first l3 control byte to the saa2500. the value of l3rdy can be tested by polling signal l3data instead of transferring the whole status byte. table 18 status bytes dst1 and dst0. the dst1 and dst0 values in general do not have a determined duration. however, subprocess 3 takes at least a 1 2 frame period when iso/mpeg layer i data is decoded, and 5 6 frame period when iso/mpeg layer ii data is decoded. table 19 indicates the validity of the saa2500 readable data items with respect to the decoding subprocess. reading of a data item in a period when it is not valid renders undefined data. 76543210 dst2 (1) dst1 (1) dst0 (1) unde?ned unde?ned unde?ned insync (2)(3) l3rdy (4) dst1 dst0 function 0 0 subprocess 0; reading ancillary data or decoding header 0 1 subprocess 1; decoding bit allocation or scale factor select information 1 0 subprocess 2; decoding scale factors 1 1 subprocess 3; decoding samples
september 1994 25 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 19 validity of saa2500 readable data items with respect to the decoding subprocess (notes 1 and 2). notes 1. the table shows following: a) the received ancillary data that was multiplexed in frame n - 1 becomes valid after subprocess 0 of frame n, and may be read during subprocesses 1, 2 and 3 of frame n. b) the decoded and used frame headers for frame n become valid after subprocess 0 of frame n, and may be read during subprocesses 1, 2 and 3 of frame n. c) flag balok for frame n in the error report item becomes valid after subprocess 1 of frame n, and may be read during subprocesses 2 and 3 of frame n and subprocess 0 of frame n+1. d) flag decfm for frame n in the error report item becomes valid after subprocess 2 of frame n, and may be read during subprocesses 3 of frame n and 0 of frame n+1. 2. note that during subprocess 3 all data items can be read. saa2500 is decoding frame n saa2500 is decoding frame n + 1 dst2 = 0 dst2 = 1 dst1 and dst0 = 0 dst1 and dst0 = 1 dst1 and dst0 = 2 dst1 and dst0 = 3 dst1 and dst0 = 0 dst1 and dst0 = 1 dst1 and dst0 = 2 dst1 and dst0 = 3 not valid ancillary data item (frame n - 1) not valid --- frame header items (frame n) --- - not valid error report: balok (frame n) not valid -- - not valid error report: decfm (frame n) not valid - d ata items data can be transferred to or from the saa2500 in data items. this section describes the general protocol to accomplish item data transfer, followed by the individual saa2500 data items. optional enhancements on the general protocol are described in chapter appendix section saa2500 l3 protocol enhancement options. general data items the data items of the saa2500 are transferred (i.e. read or written, depending on whether the data item is of readable or writeable type) in bytes. a data item transfer is initiated by writing the corresponding type i control byte (see section l3 interface control) to the saa2500. the transfer of every subsequent item data byte must be preceded by reading the status until status flag l3rdy (see section saa2500 status) is high. l3rdy may be tested alternatively by polling l3data, avoiding the need to transfer the whole status byte. status polling is not required while transferring the apu coefficients item. table 20 shows an example of how bytes dddddddd of a 2 byte data item, with the corresponding control byte cccccccc, can be read. the writing of item data bytes occurs in a similar way.
september 1994 26 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 20 example of a 2 byte data item. each data item has its own length in bytes. it is allowed to transfer less bytes than the data item length, skipping the last one or more bytes (it is even allowed to transfer no bytes at all). it is not allowed to transfer more bytes than the item length. this restriction does not hold for the apu coefficient item. after writing all apu coefficients (i.e. after writing all apu coefficient item bytes), they may be rewritten by continuing writing bytes to the apu coefficient item. writing more than the specified number of bytes to a writeable data item or writing bytes to a read-only data item may cause the saa2500 to malfunction. the reading of a write-only data item yields irrelevant data. l3data transfer source l3mode explanation 01100010 host 0 1; indicates write control transfer cccccccc host 1 2; write transfer initiating (type i) control byte 01100011 host 0 3; indicates read status transfer ssssssss saa2500 1 4; read status (repeat step 4 until l3rdy = 1) 01100001 host 0 5; indicates read item data transfer dddddddd saa2500 1 6; read ?rst item data byte 01100011 host 0 7; indicates read status transfer ssssssss saa2500 1 8; read status (repeat step 8 until l3rdy = 1) 01100001 host 0 9; indicates read item data transfer dddddddd saa2500 1 10; read second item data byte
september 1994 27 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 saa2500 settings item the saa2500 is configured with the saa2500 settings. the initial value of the saa2500 settings after reset is all zeros. table 21 saa2500 settings item; 1 byte (read/write). notes 1. msel1 and msel0; these bits select the used input interface, the input data format and the input synchronization type (see table 22). 2. crcact; automatic/forced crc activity: a) crcact = 0; the saa2500 uses the protection bit in the iso/mpeg frame header to determine the presence of the crc. b) crcact = 1; the saa2500 assumes the crc always to be present. the protection bit in the used iso/mpeg frame header is forced to 0. 3. mckdis; buffered master clock mclk disabling: a) mckdis = 0; enable mclk. b) mckdis = 1; disable (3-state) mclk. 4. fckena; buffered 256f s or 384f s output signal fsclk enabling: a) fckena = 0; disable (3-sate) fsclk. b) fckena = 1; enable fsclk. 5. selch2; with dual channel mode input data (with other modes of input data dont care: a) selch2 = 0; select channel i. b) selch2 = 1; select channel ii. 6. rnd1 and rnd0; these bits select the rounding of the baseband audio output samples (see table 23). table 22 msel1 and msel0. table 23 rnd1 and rnd0. 76543210 msel1 (1) msel0 (1) crcact (2) mckdis (3) fckena (4) selch2 (5) rnd1 (6) rnd0 (6) msel1 msel0 used input interface input synchronization 0 0 master to iso/mpeg synchronization pattern 0 1 reserved reserved 1 0 slave to iso/mpeg synchronization pattern 1 1 slave to synchronization signal cdssy rnd1 rnd0 output sample rounding length 0 0 16 bits 0 1 18 bits 1 0 20 bits 1 1 22 bits
september 1994 28 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 i nput data frame header items information about the input data, derived by the saa2500 from the input data frame headers, may be read from the frame header items. both the frame header bytes decoded from the input bitstream and the header bytes used for the actual decoding may be read. the decoded frame header item is valid independent of the value of status flag insync, it e.g. shows the decoded headers while the saa2500 is in the process of synchronising. the used frame header item is only valid if status flag insync is set. the used header bytes are derived by the saa2500 from the decoded header bytes by overruling noprot to 0 if settings bit crcact = 1, and overruling detected errors. table 24 decoded input data frame header item; 3 bytes (read-only). notes to tables 24 and 25 1. sy3 to sy0; last 4 bits of the synchronization word. 2. id; algorithm identification. 3. lay1; layer most significant bit (msb). 4. lay0; layer least significant bit (lsb). 5. nopr; crc on header, bit allocation and scale factor select information activity flag. 6. br3 to br0; bit rate index. 7. fs1 and fs0; sample rate index. 8. mod1 and mod0; mode. 9. modx1 and modx0; mode extension. 10. copr; copyright flag. 11. orig; original or home copy flag. 12. emph1 and emph0; audio de-emphasis, these bits are only meant to monitor the current de-emphasis mode; the corresponding de-emphasis is performed by the saa2500 automatically before the baseband audio signal is output. table 25 used input data frame header item; 3 bytes (read-only). e rror report item the validity of bit allocation plus scale factor select information may be read from the error report item. the error report item is only valid if status flag insync is set. subsequent bytes 765432 1 0 decoded header byte 1 sy3 (1) sy2 (1) sy1 (1) sy0 (1) id (2) lay1 (3) lay0 (4) nopr (5) decoded header byte 2 br3 (6) br2 (6) br1 (6) br0 (6) fs1 (7) fs0 (7) unde?ned unde?ned decoded header byte 3 mod1 (8) mod0 (8) modx1 (9) modx0 (9) copr (10) orig (11) emph1 (12) emph0 (12) subsequent bytes 765432 1 0 used header byte 1 111111lay0 nopr used header byte 2 br3 br2 br1 br0 fs1 fs0 unde?ned unde?ned used header byte 3 mod1 mod0 modx1 modx0 copr orig emph1 emph0
september 1994 29 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 26 error report item; 1 byte (read-only). notes 1. balok; bit allocation and scale factor select information validity indication: a) balok = 0; bit allocation or scale factor select information are incorrect, or the crc (if active) over header, bit allocation and scale factor select information fail. b) balok = 1; bit allocation or scale factor select information are correct, and the crc (if active) over header, bit allocation and scale factor select information passes. 2. decfm; frame skipping/decoding indication: a) decfm = 0; the current input data frame is skipped, and the corresponding baseband audio output frame is muted due to input data errors or inconsistencies. however, synchronization to the input data is maintained. b) decfm = 1; the current frame is decoded normally. a ncillary data item the last 54 bytes of each iso/mpeg frame, which may carry ancillary data (ad), are buffered by the saa2500 to be read by the host. the subsequent ancillary data bytes are read in reversed order with respect to their order in the input data bitstream. the first item data byte is the last frame byte in the input bitstream. the ancillary data item is refilled at every frame. the host must either know or determine itself how many of the ancillary data bytes are valid per frame. the ancillary data item only has significance if status flag insync is set. table 27 ancillary data item; 54 bytes (read-only). apu coefficients item the apu coefficients are set by writing their 8 bit indices to the 4-byte apu coefficient item. only the 7 lsbs are valid. the msb must be zero. at a device reset, indices ll and rr are set to 00000000 (no attenuation) and indices lr and rl to 01111111 (infinite attenuation; no crosstalk). table 28 apu coef?cients item; 4 bytes (write-only); see note 1. note 1. multiple options are supplied by the saa2500 to increase the timing accuracy of the apu coefficient writing (see section saa2500 l3 protocol enhancement options). subsequent bytes 76543210 error report balok (1) decfm (2) unde?ned unde?ned unde?ned unde?ned unde?ned unde?ned subsequent bytes 76543210 ad byte 1 to ad byte 54 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 subsequent bytes 765 4 3 2 1 0 apu coef?cient ll 0 ll.6 ll.5 ll.4 ll.3 ll.2 ll.1 ll.0 apu coef?cient lr 0 lr.6 lr.5 lr.4 lr.3 lr.2 lr.1 lr.0 apu coef?cient rl 0 rl.6 rl.5 rl.4 rl.3 rl.2 rl.1 rl.0 apu coef?cient rr 0 rr.6 rr.5 rr.4 rr.3 rr.2 rr.1 rr.0
september 1994 30 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 s peed limitations of the l3 interface when reading the status of, or writing control bytes to the saa2500, no status polling is necessary, so the speed of these transfers is only limited by the maximum frequency of signal l3clk and the timing constraints of the l3 protocol. when reading or writing data item bytes, status polling is necessary. in addition to the speed limitation this poses, the application must take precautions that individual data item bytes are transferred at an interval of at least 200 m s. neither the status polling nor a minimum interval between transfers is required when transferring the apu coefficient item. d efault item data values after reset at a device reset, the l3 interface initialisation procedure must be followed. all writeable data items are pre-loaded with a defined default value after the device reset signal has been de-activated. these default values are summarised in table 29. table 29 saa2500 settings item; default value after device reset (notes 1 to 6.) notes 1. msel1 = 0 and msel0 = 0; the master input is selected. the saa2500 synchronizes to the iso/mpeg synchronization pattern. 2. crcact = 0; the saa2500 uses the protection bit in the iso/mpeg frame header to determine if the crc is active. 3. mckdis = 0; the buffered master clock output mclk is enabled. 4. fckena = 0; the buffered 256f s or 384f s clock output is disabled. 5. selch2 = 0; when decoding input data with dual channel mode, channel i is output on both baseband audio output channels. 6. rnd1 = 0 and rnd0 = 0; the baseband audio output signals are rounded to 16 bit. table 30 apu coef?cients item; default values after device reset. notes 1. ll = 00000000; no attenuation in the left-to-left apu path. 2. lr = 01111111; infinite attenuation in the left-to-right apu path. 3. rl = 01111111; infinite attenuation in the right-to-left apu path. 4. rr = 00000000; no attenuation in the right-to-right apu path. subsequent bytes 765 4 3 2 1 0 saa2500 settings msel1 msel0 crcact mckdis fckena selch2 rnd1 rnd0 value 0 0 0 0 0 0 0 0 subsequent bytes 765 4 3 2 1 0 apu coef?cient ll (1) 0 ll.6 = 0 ll.5 = 0 ll.4 = 0 ll.3 = 0 ll.2 = 0 ll.1 = 0 ll.0 = 0 apu coef?cient lr (2) 0 lr.6 = 1 lr.5 = 1 lr.4 = 1 lr.3 = 1 lr.2 = 1 lr.1 = 1 lr.0 = 1 apu coef?cient rl (3) 0 rl.6 = 1 rl.5 = 1 rl.4 = 1 rl.3 = 1 rl.2 = 1 rl.1 = 1 rl.0 = 1 apu coef?cient rr (4) 0 rr.6 = 0 rr.5 = 0 rr.4 = 0 rr.3 = 0 rr.2 = 0 rr.1 = 0 rr.0 = 0
september 1994 31 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 appendix preliminary speci?cation 3-line l3 interface i ntroduction the main purpose of the new interface definition is to define a protocol that allows for the transfer of control information and operational details between a microcontroller ( m c) and a number of slave devices, at a rate that exceeds other common interfaces, but with a sufficient low complexity for application in consumer products. it should be clearly noted that the current interface definition is intended for use in a single apparatus, preferably restricted to a single printed circuit board. the new interface requires 3 signal lines (apart from a return ground) between the microcontroller and the slave devices (from this the name l3 is derived). these 3-lines are common to all ics connected to the bus: l3mode, l3data and l3clk. l3mode and l3clk are always driven by the microcontroller, l3data is bidirectional: table 31 the 3-lines common to all ics; l3mode, l3clk and l3data. notes 1. l3mode is used for the identification of the operation mode. 2. l3clk is the bitclock to which the information transfer will be synchronized. 3. l3data will carry the information to be transferred. signal microcontroller slave device l3mode (1) output input l3clk (2) output input l3data (3) output/input input/output all slave devices in the system can be addressed using a 6 bit address. this allows for up to 63 different slave devices, as the all 0 address is reserved for special purposes. in addition it is possible to extend the number of addressable devices using extended addressing. in operation 2 modes can be identified: 1. addressing mode (am). during addressing mode a single byte is sent by the microcontroller. this byte consists of 2 data operation mode (dom) bits and 6 operational address (oa) bits. each of the slave devices evaluates the operational address. only the device that has been issued the same operational address will become active during the following data mode. the operation to be executed during the data mode is indicated by the two data operation mode bits. 2. data mode (dm). during data mode information is transferred between microcontroller and slave device. the transfer direction may be from microcontroller to slave (write) or from slave to microcontroller (read). however, during one data mode the transfer direction can not change. addressing mode in order to start an addressing mode the microcontroller will make the l3mode line low. the l3clk line is lowered 8 times and the data line will carry 8 bits. the addressing mode is ended by making the l3mode line high.
september 1994 32 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 32 preferred allocations. dom1 dom0 function remarks 0 0 data from microcontroller to saa2500 general purpose data transfer 0 1 data from saa2500 to microcontroller general purpose data transfer 1 0 control from microcontroller to saa2500 e.g. register selection for data transfer 1 1 status from saa2500 to microcontroller short device status message handbook, halfpage 01234567 l3mode l3clk l3data mgb505 fig.16 addressing mode. the meaning of the bits on l3data. bit 0 and bit 1; these are the data operation mode (dom) bits that indicate the nature of the following data transfer. each slave device may have its own allocation of operation modes to the 4 possible codes of these bits. for correct information about the operation the device will perform, refer to the descriptions of the individual ic's. for new designs the preferred allocations are given in table 32. bit 2 to bit 7; these bits act as 6 bit (special function) operational ic address, with bit 7 as msb and bit 2 as lsb. bit 7 to bit 5 act as system identification and bit 4 to bit 2 as identification of the device within the system. special function operational address operational address 000000 (bit 2 to bit 7) is the special function address, and is used for the l3 device reset, as well as for the declaration and invalidation of the extended addressing. both will be explained in sections device interface reset and extended addressing. data mode in the data mode the microcontroller sends or receives information to or from the selected device. during data transfer the l3mode line is high. the l3clk line is lowered 8 times during which the l3data line carries 8 bits. the information is presented lsb first and remains stable during the low phase of the l3clk signal. the preferred basic data transfer unit is an 8 bit byte. some implementations that are modifications of older circuits with 16 bit registers may use a basic unit of 16 bits, transferred as 2 bytes, with the most significant byte presented first. no other basic data transfer unit is allowed.
september 1994 33 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 halt mode handbook, halfpage 01234567 l3mode l3clk l3data mgb504 fig.17 data transfer mode. in between units the l3mode line will be driven low by the microcontroller to indicate the completion of a basic unit transfer. this is called halt mode (hm). during halt mode the l3clk line remains high (to distinguish it from an addressing mode). the halt mode allows an implementation of an interface module without a bit counter. however, an implementation using a bit counter in the interface module may allow for the l3mode line to be kept high in between units (not using the halt mode). this implementation must also operate correctly if the halt mode is used. the documentation of the device will have to indicate clearly whether or not the halt mode is necessary for correct operation of the interface. d evice interface reset if the microcontroller sends an operational address 000000 with dom1 and dom0 also equal to 0 this indicates that none of the l3 interface devices is allowed to communicate with the microcontroller during the following data mode. this enables a different application of the l3clk and l3data lines as the l3 devices will not interfere with any communication on these lines as long as l3mode remains high (e.g. the l3clk and l3data lines are normally connected to usart circuits in the microcontrollers which allow for convenient communication between microcontrollers). any addressing mode with a valid l3 operational address will re-enable the communication with the corresponding device. devices with a fixed operational address (primary l3 devices) will react with a device reset condition regardless of the state of dom1 and dom0. devices with a programmable operational address (secondary l3 devices) can only be put in the interface reset condition if the dom1 and dom0 bits are 0. other combinations of dom1 and dom0 initiate data transfers for extended addressing. e xtended addressing l3 devices with a programmable address can be informed of their operational address using a special data transfer.
september 1994 34 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 operational address declaration for the declaration (programming) of the operational address of an l3 device with a secondary l3 identification code the following action is required: 1. first the microcontroller must issue an l3 operational address 000000 (special function address) with dom1 = 0 and dom0 = 1. this combination defines the operational address declaration operation. next the microcontroller will start a data transfer mode in which it first sends the secondary l3 identification code for the device that is to be issued an operational address, followed by a byte containing the operational address (the dom bits in this byte are don't cares). 2. next the microcontroller will start a data transfer mode in which it first sends the secondary l3 identification code for the device that is to be issued an operational address, followed by a byte containing the operational address (the dom bits in this byte are don't cares). a secondary l3 identification code is unique for any design. devices of the same design have the same identification code of one or more bytes. however, special designs may have a range of identification codes, one of which can be selected by a hardware solution, to enable the connection of more than one device of the same design to the l3 interface. it is also possible to use separate l3mode lines for multiple devices of the same design, but the same l3 identification code (this also enables parallel programming of these devices). bit 0 of any identification code byte will indicate whether or not an additional byte follows: bit 0 = 0; no additional byte as part of the identification code. bit 0 = 1; additional byte follows. with this the number of secondary l3 identification codes is (theoretically) unlimited. the operational address for the programmable device is preferable in the range 111000 to 111111. however, it is possible in a given application to issue any operational address that is not used to address primary l3 devices or other secondary l3 devices. an example is given in table 33. table 33 example of l3 devices; notes 1 to 4. notes 1. bits are shown in the order they appear on l3data (bit 0 first, bit 7 last). 2. x = bit of the identification code. 3. m = dom bit of operational address (dont care). 4. y = bit of the operational address. addressing mode data mode special address secondary l3 identification code operational address (one byte) byte 1 byte 2 byte 3 10000000 1xxxxxxx 1xxxxxxx 0xxxxxxxx mmyyyyyy operational address invalidation in order to re-allocate an operational address that has been allocated to a secondary l3 device it is possible to invalidate an operational address: first the microcontroller must issue an l3 operational address 000000 (special function address) with dom1 = 1 and dom0 = 0. this combination defines the operational address invalidation operation. next the microcontroller will start a data transfer mode in which it only sends the secondary l3 identification code for the device that will no longer be addressed. from this moment on the device will not be able to communicate with the microcontroller until it is issued a new operational address by an oa declaration (it will enter a device interface reset condition). remark: the combination of a special function address (000000) and dom1 and dom0 equal to 1 is reserved for future applications. designs based on this specification will react with a device interface reset.
september 1994 35 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 e xample of a data transfer fig.18 example of transfer of 4 bytes. (1) l3clk is triggered by l3mode. (2) for more details see fig.20. handbook, full pagewidth mgb506 address data byte 1 data byte 2 data byte 3 data byte 4 address l3mode l3clk l3data (1) (2) a data transfer starts when the microcontroller sends an address on the bus. all ics will evaluate this address, but only the ic addressed will be an active partner for the microcontroller in the following data transfer mode. during the data transfer mode bytes will be sent from or to the microcontroller. in this example the l3mode line is made low (halt mode) in between byte transfers. this is the default operation, although some ics may allow the l3mode line to be kept high. this exception must be specified clearly in the ic documentation, and such ics must be able to communicate with microcontrollers that make l3mode low in between transfers. it is suggested that new designs only use bytes as basic data transfer units. after the data transfer the microcontroller does not need to send a new address until a new data transfer is necessary. alternatively it may also send the special address 000000 to indicate the end of the data transfer operation. t iming requirements these are requirements for the slave devices designed according to the 'l3' interface definitions. addressing mode fig.19 timing (addressing mode). handbook, full pagewidth mgb507 t d1 h2 cl t ch t h1 t su t t l3clk l3mode l3data
september 1994 36 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 34 requirements for timing (addressing mode); see fig.19. data mode table 35 requirements for timing (data mode); see fig.20. symbol parameter requirement unit t d1 l3clk high to l3clk low delay time after l3mode low 3 190 ns t cl l3clk low time 3 250 ns t ch l3clk high time 3 250 ns t su1 l3data set-up time before l3clk high 3 190 ns t h1 l3data hold time after l3clk high 3 30 ns t h2 l3clk hold time before l3mode high 3 190 ns symbol parameter requirement unit t d1 l3clk high to l3clk low delay time after l3mode high 3 190 ns t cl l3clk low time 3 250 ns t ch l3clk high time 3 250 ns microcontroller to slave device t su1 l3data set-up time before l3clk high 3 190 ns t h1 l3data hold time after l3clk high 3 30 ns t h2 l3clk hold time before l3mode high 3 190 ns slave device to microcontroller t d2 l3data enable time after l3mode high 0 < t d2 50 ns t d3 l3data stable time after l3mode high 380 ns t h3 l3data hold time after l3clk high 3 50 ns t d4 l3data stable time after l3clk high 360 ns t d4 l3data stable time after l3clk high between bit 7 of a byte and bit 0 of next byte if no halt mode is used 530 ns t d5 l3data disable time after l3mode low 0 < t d5 50 ns fig.20 timing (data mode). a ndbook, full pagewidth mgb508 l3data microcontroller to ic t d1 h2 cl t ch t h1 t su t t d2 t d3 t h3 t d4 t d5 t l3data ic to microcontroller l3clk l3mode
september 1994 37 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 halt mode table 36 requirements for timing (halt mode); see fig.21. symbol parameter requirement unit t d1 l3clk high to l3clk low delay time after l3mode high 3 190 ns t l l3mode low time 3 190 ns t h2 l3clk hold time before l3mode low 3 190 ns slave device to microcontroller t d2 l3data enable time after l3mode high 0 < t d2 50 ns t d5 l3data disable time after l3mode low 0 < t d5 50 ns fig.21 timing (halt mode). handbook, full pagewidth mgb509 t l l3clk l3mode d5 t h2 t t d1 d2 t l3data ic to microcontroller saa2500 l3 protocol enhancement options the l3 interface on the saa2500 is limited in speed, dictated both by the maximum saa2500 handling speed and the upper frequencies of the l3 interfacing standard. on the other hand, the saa2500 offers several enhancements, described in this section, to make a better use of the saa2500 l3 interface capacity. the enhancements are optional. the applicant chooses whether to use them or not. t esting l3rdy by polling l3data the host must test status flag l3rdy to make sure whether the saa2500 l3 interface is ready to transfer data item bytes. according to the general protocol, described in section data items, the status is read by first writing the saa2500 read status operational address, after which the status byte can be transferred. to avoid these status byte transfers (thus reducing the host's load), after writing the saa2500 read status operational address, l3rdy is continuously copied to signal l3data during the period in which no l3 transfers (i.e. status byte readings) are performed. meanwhile, l3mode must be kept high (no l3 operational addresses may be written). as a result, l3rdy can be tested as shown in table 37.
september 1994 38 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 37 status bytes dst1 and dst0; note 1. note 1. no status byte transfers are needed; the load of the host (microcontroller) can thus be reduced. l3data transfer source l3mode explanation 01100011 host 0 write read status operational address polled saa2500 1 test l3data; repeat this step until l3data = 1 o ptions to increase the timing accuracy of the apu coefficient writing the saa2500 offers three enhancements to increase the timing accuracy with which apu coefficients can be updated by the application: 1. status polling is not required when apu coefficients are written. l3 status flag l3rdy, when read anyhow, will always be high, indicating that the next apu coefficient transfer may be done. the transfer speed is only limited by the maximum allowed frequency of l3clk. as a result, also no write item data operational address is needed any more before writing each apu coefficient index. 2. normally, no more bytes may be written to a writeable data item than the length of that specific item. an exception is formed by the apu coefficients. they may be written continuously with a coefficient wrap. after the writing of all 4 coefficients, the writing can be continued at the first apu coefficient without having to write a new control byte. 3. the data item transfer protocol, described in section data items, although transparent, allows only for the reading or writing of data items from their first data byte onwards. this approach can lead to situations where e.g. 54 ancillary data item bytes must all be read (which takes at least 54 200 m s = 10.8 ms, due to the interface speed limitations: see section data items) before the next data item can be transferred. the saa2500 enables the writing of apu coefficients without having to wait for the current item transfer to finish. in order to do so, a running transfer can be interrupted by an apu coefficient write transfer, and then be resumed with the continue current transfer control byte. an item transfer may be interrupted at any time to write apu coefficients. after the continue previous transfer control byte, a operational address must always follow, indicating the type of l3 transfer that will follow. an apu coefficient write transfer itself cannot be interrupted. the 3 mentioned options are all illustrated in table 38, where a data item transfer is interrupted between the reading of the n th and (n + 1) th data item byte.
september 1994 39 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 table 38 example of 3 options to increase the timing accuracy of the apu coef?cient writing. l3data transfer source l3mode explanation dddddddd saa2500 1 read n th item data byte 01100010 host 0 indicate write control transfer 00000110 host 1 write write apu coef?cients control byte 01100000 host 0 indicate write item data transfer dddddddd host 1 write apu coef?cient ll dddddddd host 1 write apu coef?cient lr dddddddd host 1 write apu coef?cient rl dddddddd host 1 write apu coef?cient rr dddddddd host 1 write apu coef?cient ll dddddddd host 1 write apu coef?cient lr dddddddd host 1 write apu coef?cient rl dddddddd host 1 write apu coef?cient rr 01100010 host 0 indicate write control transfer 00000111 host 1 write continue previous transfer control byte 01100011 host 0 indicate read status transfer ssssssss saa2500 1 read status; repeat this step until l3rdy = 1 01100001 host 0 indicate read item data transfer dddddddd saa2500 1 read (n + 1) th item data byte etc. etc. etc. etc.
september 1994 40 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 application information handbook, full pagewidth 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 23 v ddd v dda mgb510 m f 1 w 10 k m f 100 right output 1 nf w 1 k w 10 k m f 100 left output w 1 k 1 nf sysclki deem1 n.c. sysclko n.c. test2 deem2 musb dsmb clks2 atsb clks1 vol data filtcl ws filtcr bck vor test1 tda1305 dac v ssa v ssd v ssd v ddo v sso v ref 5 v c c m h 4.7 c (1) 5 v 5 v (1) c 5 v r r r r 23 urda cds cdsef cdscl cdswa cdssy cdm cdmef cdmcl cdmws gnd 12 13 14 15 16 17 18 19 20 21 22 fsclkm fsclk384 mclk24 v dd2 trst tms tck tdo tdi tc0 tc1 44 43 42 41 40 39 38 37 36 35 34 gnd fsclk fsclkin x22out x22in mclk mclkout mclkin v dd1 6 7 8 9 10 11 2 3 4 51 reset stop l3mode l3data sd gnd ta tb to ti sck ws 24 25 26 27 28 29 30 31 32 33 l3clk saa2500 clock circuit 5 v c 5 v 5 v mpeg slave interface mpeg master interface l3 bus fs256 reset c fig.22 typical application diagram. c = 100 nf; r = 47 w . (1) the supply voltage (+5 v) and gnd links should be located close to the supply connector.
september 1994 41 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 limiting values in accordance with the absolute maximum rating system (iec 134). notes 1. input voltage should not exceed 6.5 v unless otherwise specified. 2. equivalent to discharging a 100 pf capacitor through a 1.5 k w series resistor. 3. equivalent to discharging a 200 pf capacitor through a 0 w series resistor. dc characteristics v dd =5v 10%; t amb = - 40 to +85 c; unless otherwise speci?ed. symbol parameter conditions min. max. unit v dd supply voltage - 0.5 +6.5 v v i input voltage note 1 - 0.5 v dd + 0.5 v i dd supply current - 100 ma i i input current - 10 ma i o output current 2 ma outputs - 10 ma 4 ma outputs - 20 ma p tot total power dissipation vdd = 5 v 5% - 165 mw t stg storage temperature - 65 +150 c t amb operating ambient temperature - 40 +85 c v es1 electrostatic handling note 2 - 2000 +2000 v v es2 electrostatic handling note 3 - 200 +200 v symbol parameter conditions min. typ. max. unit supply i dd quiescent supply current note 1 100 --m a inputs; notes 2 and 3 v ih high level input voltage (cmos) 0.7v dd - v dd v v il low level input voltage (cmos) 0 - 0.3v dd v v ih high level input voltage (ttl) 2 - v dd v v il low level input voltage (ttl) 0 - 0.8 v v tlh positive going threshold voltage (cmos schmitt trigger) -- 0.8v dd v v thl negative going threshold voltage (cmos schmitt trigger) 0.2v dd -- v v hys hysteresis voltage (cmos schmitt trigger) - 0.3v dd - v |i i | input current -- 1 m a r pull pull-up resistor 14 - 140 k w
september 1994 42 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 notes 1. tdi, tms, trst and l3data not driven; tc0 and tc1 driven high; all other inputs driven low. 2. inputs trst, tck, tms and tdi are ttl level compatible; all other inputs are cmos level compatible. 3. input trst (pin 38) should be connected to ground for normal operation and connected to v dd for boundary scan testing. ac characteristics v dd =5v 10%; t amb = - 40 to +85 c; unless otherwise speci?ed. outputs v oh high level output voltage i o = 4 ma v dd - 0.5 -- v v ol low level output voltage i o =4ma -- 0.5 v |i oz | 3-state off leakage current -- 5 m a symbol parameter conditions min. typ. max. unit clocks c i input capacitance -- 10 pf mclkin f clk clock frequency mclk24 = 1 - 24.576 - mhz mclk24 = 0 - 12.288 - mhz t r rise time - 12 - ns t f fall time - 12 - ns t h high time 12 -- ns t l low time 12 -- ns x22in f clk clock frequency - 22.579 - mhz t r rise time - 12 - ns t f fall time - 12 - ns t h high time 12 -- ns t l low time 12 -- ns fsclkin f clk clock frequency fsclk384 = 1 - 384f s - hz fsclk384 = 0 - 256f s - hz t r rise time note 1 - 5 - ns t f fall time note 1 - 5 - ns t h high time 12 -- ns t l low time 12 -- ns symbol parameter conditions min. typ. max. unit
september 1994 43 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 cdscl f clk clock frequency -- 768 khz t r rise time note 1 - 12 - ns t f fall time note 1 - 12 - ns t h high time note 2 t m +20 -- ns t l low time note 2 t m +20 -- ns cdmcl f clk clock frequency note 2 -- hz l3clk t h high time t m +10 -- ns t l low time t m +10 -- ns fsclk f clk clock frequency msel = 00; fsclkm = 0; f s = 44.1 khz -- mhz msel = 00; fsclkm = 0; f s = 48 khz -- mhz msel = 00; fsclkm = 0; f s = 32 khz -- mhz mclk f clk clock frequency - f mclkin - mhz sck f clk clock frequency fsclk384 = 0; f sck = 64f s -- mhz fsclk384 = 1; f sck = 64f s -- mhz symbol parameter conditions min. typ. max. unit 1 8t m ---------- - f x22in 2 -------------- - f mclkin 2 -------------------- f mclkin 3 -------------------- f fsclk 4 ----------------- f fsclk 6 -----------------
september 1994 44 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 notes 1. short rise and fall times improve the tolerance of clocks to signal and supply noise. 2. if mclk24 = 1 then else . 3. to allow for the effects of load capacitance the timing values should be de-rated by 0.5 ns/pf. 4. for maximum clock signal load of 25 pf. 5. l3data to l3clk high. 6. l3data to l3mode high. inputs c i input capacitance -- 10 pf t su1 set-up time ti to sck high c l <25pf 33 -- ns t su2 set-up time cdm and cdmef to cdmcl, cds, cdsef and cdswa high c l <25pf 42 -- ns t su3 set-up time cdssy to cdscl high t m +10 -- ns t d1 delay time l3mode to l3lck low 0 -- ns t h1 hold time ti to sck high 0 -- ns t h2 hold time cdm, cdmef to cdmcl, cds, cdsef and cdswa high 0 -- ns t h3 hold time cdssy to cdscl high 10 -- ns t h4 input hold time 0 -- ns t l l3mode low time t m +10 -- ns outputs c o output capacitance -- 50 pf t h hold time sd, ws, to, tb and ta to sck low notes 3 and 4 - 22 -- ns t h hold time cdmws to cdmcl low notes 3 and 4 - 15 -- ns t d delay time sd, ws, to, tb and ta to cdmcl low note 3 -- 10 ns t d delay time cdmws to cdmcl low note 3 -- 0ns inputs/outputs c o output capacitance -- 50 pf t su input set-up time note 5 t m +10 -- ns t h input hold time note 5 10 -- ns t h output hold time notes 3 and 5 t m -- ns t d output delay time notes 3 and 5 -- 2t m +30 ns t d2 3-state enable time notes 3 and 6 -- 20 ns t d3 3-state stable time notes 3 and 6 -- 20 ns t d5 3-state disable time l3data to l3mode low note 3 -- 20 ns symbol parameter conditions min. typ. max. unit t m 4 f mclkin -------------------- = t m 2 f mclkin -------------------- =
september 1994 45 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 fig.23 timing diagram. handbook, full pagewidth v ih t su t h1 30% 50% 70% il v t h2 t d v ih il v 30% 70% clock data data input data output mgb511
september 1994 46 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 package outline handbook, full pagewidth x a b 10.1 9.9 12.9 12.3 0.15 m b 0.40 0.20 pin 1 index 1 44 34 33 23 22 11 0.40 0.20 0.15 m a 0.8 12 0.8 10.1 9.9 12.9 12.3 s 0.1 s seating plane 1.2 0.8 (4x) 1.2 0.8 (4x) 0.95 0.55 mbb944 - 2 detail x 0.85 0.75 0.25 0.14 2.10 1.70 0 to 10 o 1.85 1.65 0.25 0.05 fig.24 plastic quad flat package; 44 leads (lead length 1.3 mm); body 10 10 1.75 mm (qfp44; sot307-2). dimensions in mm.
september 1994 47 philips semiconductors preliminary speci?cation mpeg audio source decoder saa2500 soldering plastic quad ?at-packs b ywave during placement and before soldering, the component must be fixed with a droplet of adhesive. after curing the adhesive, the component can be soldered. the adhesive can be applied by screen printing, pin transfer or syringe dispensing. maximum permissible solder temperature is 260 c, and maximum duration of package immersion in solder bath is 10 s, if allowed to cool to less than 150 c within 6 s. typical dwell time is 4 s at 250 c. a modified wave soldering technique is recommended using two solder waves (dual-wave), in which a turbulent wave with high upward pressure is followed by a smooth laminar wave. using a mildly-activated flux eliminates the need for removal of corrosive residues in most applications. b y solder paste reflow reflow soldering requires the solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the substrate by screen printing, stencilling or pressure-syringe dispensing before device placement. several techniques exist for reflowing; for example, thermal conduction by heated belt, infrared, and vapour-phase reflow. dwell times vary between 50 and 300 s according to method. typical reflow temperatures range from 215 to 250 c. preheating is necessary to dry the paste and evaporate the binding agent. preheating duration: 45 min at 45 c. r epairing soldered joints ( by hand - held soldering iron or pulse - heated solder tool ) fix the component by first soldering two, diagonally opposite, end pins. apply the heating tool to the flat part of the pin only. contact time must be limited to 10 s at up to 300 c. when using proper tools, all other pins can be soldered in one operation within 2 to 5 s at between 270 and 320 c. (pulse-heated soldering is not recommended for so packages.) for pulse-heated solder tool (resistance) soldering of vso packages, solder is applied to the substrate by dipping or by an extra thick tin/lead plating before package placement. definitions life support applications these products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. philips customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify philips for any damages resulting from such improper use or sale. data sheet status objective speci?cation this data sheet contains target or goal speci?cations for product development. preliminary speci?cation this data sheet contains preliminary data; supplementary data may be published later. product speci?cation this data sheet contains ?nal product speci?cations. limiting values limiting values given are in accordance with the absolute maximum rating system (iec 134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the device at these or at any other conditions above those given in the characteristics sections of the speci?cation is not implied. exposure to limiting values for extended periods may affect device reliability. application information where application information is given, it is advisory and does not form part of the speci?cation.


▲Up To Search▲   

 
Price & Availability of SAA2500H

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X